<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/4/10 0010
 * Time: 下午 8:15
 */

namespace app\common\model;

use think\Model;

class Plan extends Model
{
    /**
     * @param array $arg
     * @param string $field
     */
    public function getListByArg(array $arg,$field='*')
    {
        return $this->where($arg)->field($field)->select();
    }
}